﻿<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" th:href="@{/css/style.css}">
<script type="text/javascript" th:src="@{/js/jquery-1.8.3.min.js}"></script>
</head>
<body>
<div class="main">
	<div class="optitle clearfix">
		<div class="title">账单管理&gt;&gt;</div>
	</div>
	  <form th:action="@{/bill/delete}" method="post">
		<div class="content">
			<table class="box">
				<input  type="hidden" id="billId" name="billId" th:value="${bill.billId}"/>
			  <tr>
					<td class="field">账单编号：</td>
					<td th:text="${bill.billId}"></td>
				</tr>
			   <tr>
					<td class="field">商品名称：</td>
					<td th:text="${bill.productName}"></td>
				</tr>
				 <tr>
					<td class="field">商品单位：</td>
					<td th:text="${bill.productUnit}"></td>
				</tr>
				<tr>
					<td class="field">商品数量：</td>
					<td th:text="${bill.productCount}"></td>
				</tr>
				<tr>
					<td class="field">总额：</td>
					<td th:text="${bill.billMoney}"></td>
				</tr>
			   <tr>
					<td class="field">供应商：</td>
					<td th:text="${bill.proName}"></td>
				</tr>
				 <tr>
					<td class="field">是否付款：</td>
						<td th:text="${bill.payed}==1?'是':'否'"></td>
				</tr>
			</table>
		</div>
		<div class="buttons">
			<input type="submit" name="del" id="del" value="删除" class="input-button" />
			<input type="button" name="button" id="button" onclick="history.back(-1)" value="返回" class="input-button"/> 
		</div>
      </form>
</div>
</body>
</html>
